package iooperation;

import book.BookList;

public class ShowOperation implements IOperation {
    //显示书架上的所有图书：
    public void work(BookList bookList){

        // 将所有的书籍均遍历出来
        for (int i = 0; i < bookList.getNumber(); i++) {
            System.out.println(bookList.books[i].toString());
        }

    }















}
